const mockData = require.context('./', false, /\.json$/)
const catalog = [];
const integrationData = [];
mockData.keys().forEach(fileName => {
    const curItem = mockData(fileName);
    const name = fileName.replace(/.json|.\//gi, '');
    catalog.push(name);
    integrationData.push({ name, data: curItem });
})


export default { integrationData, catalog }